package com.ibm.risk.irmp.data.table.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.io.Serializable;

@Data
@Entity
@Table(name = "ri_data_table_col")
public class DataTableColumn implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 2289086980339358502L;

    @Id
    private String id;

    private String tableCode;

    private String selectCase;

    private String columnCode;

    private String columnName;

    private String columnDesc;

    private String columnType;

    private String isMain;

    private String showFlag;

    private Integer colSeq;

    private Integer dataLength;

    private Integer dataPrecision;

    private Integer dataScale;

    private String updatableFlag;

    private String dynamicFlag;

    private String columnLength;

    private String groupName;

    private String businessKey;

    private String sortFlag;
    /**
     * 是否数据分区字段
     */
    private String dataPartitionFlag;

    /**
     * 是否数据唯一性字段
     */
    private String dataUniqueFlag;

    /**
     * 是否条件过滤字段
     */
    private String dataFilterFlag;

    /**
     * 数据可选项
     */
    private String dataOptions;

}
